package com.fortune.dto.in.salesMan;

import javax.validation.constraints.Pattern;

import org.hibernate.validator.constraints.NotBlank;

import com.fortune.constants.PatternConstants;

import io.swagger.annotations.ApiModelProperty;

public class SalesManEditDto {
	@NotBlank(message="姓名不能为空")
	@ApiModelProperty(required=true, example="姓名")
	private String name;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "SalesManEditDto{" +
				"name='" + name + '\'' +
				'}';
	}
}
